package com.jingjia;

import com.jingjia.service.UserService;
import com.spring.JingJiaApplicationContext;

public class Test {
    public static void main(String[] args) {
        JingJiaApplicationContext context = new JingJiaApplicationContext(AppConfig.class);
        UserService userService = (UserService) context.getBean("userService");
        userService.test();
    }
}
